package com.mifengs.moduletwo;


import android.os.Bundle;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.mifengs.commonbase.base.BaseActivity;
import com.mifengs.moduletwo.di.component.DaggerDaggerDemoComponent;
import com.mifengs.moduletwo.di.module.DaggerDemoModule;

@Route(path = "/moduletwo/")
public class DaggerDemoActivity extends BaseActivity<DaggerDemoPresent> implements DaggerDemoContract.View {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_dagger_demo);
    }

    @Override
    public void initInjector() {
        DaggerDaggerDemoComponent.builder()
                .daggerDemoModule(new DaggerDemoModule(this))
                .build()
                .inject(this);
    }

    @Override
    public String getPwd() {
        return "";
    }

    @Override
    public String getAccount() {
        return "";
    }
}
